<%@ Page Title="WDPA: Login" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Login.aspx.cs" Inherits="Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
<br />
    <div class="span-9">
        &nbsp;</div>
    <div class="span-9">
        <asp:Label ID="lblLoginStatus" runat="server" Text=""></asp:Label>
        <asp:Login ID="Login1" runat="server" FailureText="Login error. Please try again."
            OnAuthenticate="Login1_Authenticate">
            <LayoutTemplate>
                <table width="100%" cellpadding="5" cellspacing="0" border="0" style="text-align: center;">
                    <tr>
                        <td>
                            <asp:Label ID="UserNameLabel" runat="server" ForeColor="Gray" Text="Email:" Width="60px" />                        
                            <asp:TextBox ID="Username" runat="server" Text="" BackColor="White" Font-Size="12px"
                                Width="125px"></asp:TextBox><asp:RequiredFieldValidator ID="UserNameRequired" runat="server"
                                    ControlToValidate="UserName" ErrorMessage="Email is required." ToolTip="Email is required."
                                    ValidationGroup="Login">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="PasswordLabel" ForeColor="Gray" runat="server" Text="Password:" Width="60px"/>
                        
                            <asp:TextBox ID="Password" runat="server" TextMode="Password" Font-Size="12px" Width="125px"></asp:TextBox><asp:RequiredFieldValidator
                                ID="PasswordRequired" runat="server" ControlToValidate="Password" ErrorMessage="Password is required."
                                ToolTip="Password is required." ValidationGroup="Login">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" ValidationGroup="Login" />
                            <p style="font-size: 10px;">
                                <a href="Register.aspx">Register</a> | <a href="PasswordReminder.aspx">Forgotten
                                    Password?</a></p>
                       
                            <asp:Label ID="FailureText" runat="server" EnableViewState="False" ForeColor="Red"
                                Font-Bold="true"></asp:Label>
                        </td>
                    </tr>
                </table>
            </LayoutTemplate>
        </asp:Login>
    </div>
    <div class="span-6 last">
        &nbsp;</div>
</asp:Content>
